[ All 3 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ]
×

Package stb_sprintf-devel-1.10^20250512git802cd45-1.el9.x86_64 download

Name stb_sprintf-devel
Epoch 0
Version 1.10^20250512git802cd45
Release 1.el9
Architecture x86_64
Website/URL https://github.com/nothings/stb
License MIT OR Unlicense
Build Time 2025-05-13 09:04:21
Build Host builder-x86-04.inferitos.ru
Summary Fast sprintf, snprintf for C/C++
Repositories Extras
Description This is a full sprintf replacement that supports everything that the C runtime sprintfs support, including float/double, 64-bit integers, hex floats, field parameters (%*.*d stuff), length reads backs, etc. Why would you need this if sprintf already exists? Well, first off, it’s *much* faster (see below). It’s also much smaller than the CRT versions code-space-wise. We’ve also added some simple improvements that are super handy (commas in thousands, callbacks at buffer full, for example). Finally, the format strings for MSVC and GCC differ for 64-bit integers (among other small things), so this lets you use the same format strings in cross platform code. It uses the standard single file trick of being both the header file and the source itself. If you just include it normally, you just get the header file function definitions. To get the code, you include it from a C or C++ file and define STB_SPRINTF_IMPLEMENTATION first. It only uses va_args macros from the C runtime to do its work. It does cast doubles to S64s and shifts and divides U64s, which does drag in CRT code on most platforms. It compiles to roughly 8K with float support, and 4K without. As a comparison, when using MSVC static libs, calling sprintf drags in 16K.
Errata
Size 26 KiB
Source Project stb-0^20250512git802cd45-1.el9
SHA-256 checksum 67a813a57c302ce00234d4310c0c62f917ed4a67b573cd6b2fb5270c4d10c23f
× Full screenshot
Changelog link
* Mon May 12 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20250512git802cd45-1
- stb_image_resize2 2.14

* Sun Mar 16 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20250314gitf056911-1
- stb_image_resize2 2.13

* Fri Jan 10 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-4
- Patch root cause of CVE-2021-45340

* Sun Dec 15 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-3
- Add a SourceLicense field

* Sun Dec 15 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-2
- Remove spec-file conditionals for Fedora 39 and EPEL7 (end-of-life)

* Wed Oct 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-1
- stb_image_resize2 2.11

* Fri May 31 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240531git013ac3b-1
- stb_image 2.30

* Sat May 25 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240525git449758b-1
- stb_image_resize2 2.07

* Thu May 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240213gitae721c5-5
- Patch for GHSL-2023-171/CVE-2023-45681/CVE-2023-47212

* Thu May 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240213gitae721c5-4
- Fix a description to use American English orthography